package com.company.behavioral.command_pattern.demo2;

/**
 * @ClassName Adder
 * @Author tiezheng.han
 * @Date 2020/9/2 18:20
 **/
public class Adder {

    private int num = 0;

    public int add(int value){
        num += value;
        return num;
    }
}
